﻿using System;
using System.Collections.Generic;

namespace MyHomeworkWebAPi.Models;

public partial class Comment
{
    /// <summary>
    /// 评论ID
    /// </summary>
    public Guid CommentId { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public Guid UserId { get; set; }

    /// <summary>
    /// 商品ID
    /// </summary>
    public Guid ProductId { get; set; }

    /// <summary>
    /// 评论
    /// </summary>
    public string Content { get; set; } = null!;

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    public Guid? ParentCommentId { get; set; }

    public virtual Product Product { get; set; } = null!;
}
